
#include "pBody.h"
#include "Object.h"
#include "template.h"
// or include the includer.h which contains all the includes

Object::~Object()
{ //must remain empty as the everconsuming void
}


struct objectPimpl
{
	Tmpl8::pBody* mBody;
	
	objectPimpl(Tmpl8::pBody* pB);
	~objectPimpl();
};

objectPimpl::objectPimpl(Tmpl8::pBody* pB)
{
	mBody = pB;
}

objectPimpl::~objectPimpl()
{
	//delete mBody;
}

dynObject::dynObject(Tmpl8::pBody *pB)
: mPimpl(*new objectPimpl(pB))
{
}

dynObject::~dynObject()
{
}

void dynObject::draw()
{
	Tmpl8::vector3 center = mPimpl.mBody->GetPosition();
	//plaatje width & height moeten we hier kunnen gebruiken
}